package com.tfswx.fljdmxyy.dto.rwpz;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 修改任务管理表的输入参数
 *
 * @author 唐晓宇
 * @date 2023/03/24
 */
@ApiModel(value = "RwpzUpdateInputDTO", description = "修改任务管理表的输入参数")
@Data
public class RwpzUpdateInputDTO {

    @NotBlank(message = "任务编号;1不能为空")
    @ApiModelProperty(value = "任务编号;1", required = true, example = "")
    private String rwbh;

    @ApiModelProperty(value = "任务名称;定时任务01", example = "")
    private String rwmc;

    @ApiModelProperty(value = "任务描述", example = "")
    private String rwms;

    @ApiModelProperty(value = "任务表达式;", example = "0/2 * * * * ?")
    private String rwbds;

    @ApiModelProperty(value = "任务服务名", example = "")
    private String rwfwm;

    @ApiModelProperty(value = "任务方法", example = "")
    private String rwff;

    @ApiModelProperty(value = "任务参数", example = "")
    private String rwcs;

    @ApiModelProperty(value = "是否暂停", example = "N")
    private String sfzt;

    @ApiModelProperty(value = "是否启用", example = "Y")
    private String sfqy;
}